<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        img{
            border-radius: 50%;
            animation: animated 4s linear infinite;
            animation-play-state: paused;
        }
        @keyframes animated{
            0%{
                transform: rotate(0deg)
            }
            50%{
                transform: rotate(180deg)
            }
            100%{
                transform: rotate(360deg)
            }
        }
        img:hover{
            animation-play-state: running;
        }
    </style>
</head>
<body>
    <img src="images/music.jpg" alt="">
</body>
</html>